<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0055)#/app/opp/view.php?id=rHBljHsXjWNHR -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


    <title>{$project.title}</title>
    <script src="/static/index/hm.js"></script><script type="text/javascript" src="/static/index/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/static/index/common.js"></script>
    <script type="text/javascript" src="/static/index/login.js"></script>
    <!--[if lte IE 6]>
    <script language="javascript" type="text/javascript" src="https://css.zhiyuanyun.com/lib/png.js" ></script>
    <script type="text/javascript">
        DD_belatedPNG.fix('div, ul, li, input , a, a:hover, h2, b');
    </script>
    <![endif]-->
    <script type="text/javascript" src="/static/index/front.js"></script>
    <link href="/static/index/style.css" rel="stylesheet" type="text/css">
    <link href="/static/index/style(1).css" rel="stylesheet" type="text/css">
    <meta name="renderer" content="webkit|ie-stand">
    <script src="/static/index/share.js"></script></head>
<body>

{include file="common/header"}

<script>
    $(window).scroll(function (){
        var f=$('#ptit');
        var top=$(this).scrollTop();
        var top_o=$('#main_body').offset().top;
        if(top>top_o){
            f.css({'position':'absolute','top':top+'px','left':$('#main_body').find('.wrap').offset().left+'px','background':'#ffffff','margin-top':'0px'});
        }else{
            f.css({'position':'inherit'});
        }
    });
</script>
<div class="main" id="main_body">
    <div class="wrap opptop clearfix" id="ptit" style="position: inherit; top: 202px; left: 290.5px; background: rgb(255, 255, 255); margin-top: 0px;">
        <h1 class="l">
            <div class="l">{$project.title}</div>
        </h1>
        <span class="opp_org_join_status r">&nbsp;&nbsp;</span>
    </div>
    <div class="wrap clearfix m10">

        <div class="conl">
            <div class="clearfix">
                <div class="l desc_img listimg_opp" style="    background: url({$project.show_img}) center center no-repeat;">
                </div>
                <div class="l desc_txt">
                    <table>
                        <tbody>
                        <tr><th>活动名：</th><td>{$project.name}</td></tr>
                        <tr><th>活动关键字：</th><td>{$project.keyname}</td></tr>
                        <tr><th>活动简介：</th><td>{$project.pro_description}</td></tr>
                        </tbody></table>
                </div>
            </div>
            <div class="job">
                <div class="tit clearfix">
                    <span class="l"> 申请审核结果：已经通过 </span>
                    <span class="r">
                           <a href="javascript:void(0);" class="but_alert" onclick="vol_join()">取消申请</a>                                                                         &nbsp;&nbsp;
                    </span>
                </div>

            </div>

            <div class="con10">
                <div class="clearfix tab1">
                    <a id="tabs1" href="javascript:void(0);" class="current">项目详情</a>
                </div>
            </div>
            <div class="con10" id="con1"> {$project.content|raw} </div>
            <div class="con10" id="con2" style="display:none;">

            </div>
            <div class="con10" id="con3" style="display:none;">
                <div id="comment"><table></table><div class="pagebar"></div><div style="clear:both;height:10px"></div><div id="creply"><div style="margin:10px"><p class="r_ptitle">在这里畅所欲言吧~~</p><input type="hidden" id="comment_type" value="1"><input type="hidden" id="source_id" value="3882391"><input type="hidden" id="uid_reply" value="0"><input type="hidden" id="parent_id" value="0"><textarea class="txt1" style="width:600px;" id="content"></textarea><br><br><span><a href="javascript:void(0);" onclick="do_reply(this);" class="but1">发布评论</a></span></div></div><div style="clear:both;height:10px"></div></div>
            </div>
            <div class="con10" id="con4" style="display:none;">
                <div id="tracks"><table class="track"></table><div class="pagebar"></div><div style="clear:both;height:10px"></div></div>
                <div id="track">
                    <div style="margin:10px">

                        <input type="hidden" id="opp_id" value="3882391">
                        <table>
                        </table>
                    </div>
                </div>
                <div style="clear:both;height:10px"></div>
            </div>
            <div class="con10" id="con5" style="display:none;">
            </div>
        </div>
        <div class="conr">

            <div class="boxcon">

            </div>

            <div class="boxcon"><ul>
            </ul></div>
        </div>
    </div>
</div>
{include file="common/footer"}

<script>
    function vol_join(){
            layer.prompt({title: '请输入取消原因', formType: 2}, function(text, index){
                layer.close(index);
                var id = {$project.id};
                $.ajax({
                    url:"{:url('index/user/allowDetail')}",
                    type:"post",
                    data:{"id":id,"text":text},
                    dataType:'json',
                    success:function(data) {
                        if(data.code == 1)
                        {
                            layer.msg(data.msg,{
                                icon:6,
                                time:2000
                            },function () {
                                location.href = data.url;
                            })
                        }else
                        {
                            layer.open(
                                {
                                    title:'失败！',
                                    content:data.msg,
                                    icon:5,
                                    anim:6
                                }
                            );
                        }
                    }
                });
            });


    }
</script>

<div id="add_cpl" style="display:none;">
    <input type="hidden" id="cpl_from_type" value="1">
    <input type="hidden" id="cpl_from_id" value="3882391">
    <table class="m10">
        <tbody><tr>
            <td align="right"><span class="fim">*</span>被投诉对象：</td>
            <td><input class="ipt" type="text" id="cpl_to_object" value="" placeholder="志愿者姓名/团体名称/项目名称"><span class="v_result"></span></td>
        </tr>
        <tr>
            <td align="right" valign="top"><span class="fim"></span>投诉内容：</td>
            <td><textarea class="txt1" type="text" id="cpl_to_content" style="width:260px;height:50px;"></textarea><span class="v_result"></span></td>
        </tr>
        <tr>
            <td align="right"><span class="fim">*</span>投诉人姓名：</td>
            <td><input class="ipt" type="text" id="cpl_from_name" value="" placeholder=""><span class="v_result"></span></td>
        </tr>
        <tr>
            <td align="right"><span class="fim">*</span>投诉人证件号码：</td>
            <td><input class="ipt" type="text" id="cpl_from_idcard" value="" placeholder=""><span class="v_result"></span></td>
        </tr>
        <tr>
            <td align="right"><span class="fim">*</span>投诉人联系电话：</td>
            <td><input class="ipt" type="text" id="cpl_from_mobile" value="" placeholder=""><span class="v_result"></span></td>
        </tr>

        <tr>
            <td width="150"></td>
            <td><a href="javascript:void(0);" onclick="add_cpl(this)" class="but1" id="but_add">提交数据</a></td>
        </tr>
        </tbody></table>
</div>
<script>
    $("#vol_nav").children('a:eq(5)').addClass('sel');
</script>

<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"16"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script></body></html>
